package com.beans;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: fzykd
 * Date: 2022-10-02
 * Time: 12:58
 */

@Component
public class BeanScope2 {
    @Autowired
    public User user3;

    public User getUser(){
        return user3;
    }
}
